<script>
import Items from './Items.js'
import { h } from 'vue'

export default {
    props: ['type', 'props'],
    setup(props, { attrs, slots }) {
        return () => h(Items[props.type], attrs, slots)
    },
}

</script>
<style scoped lang="less"></style>